<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <ui:composition>
			<h:form style="margin:0;" rendered="#{login.isAdminLogged}">
				<ul class="nav">
						<li><a href="index.xhtml">Главная</a></li>
						<li><a href="logins.xhtml">Модераторы</a></li>
				</ul>
			</h:form>
			<h:form style="margin:0;" rendered="#{! login.isAdminLogged}">
				<ul class="nav">
						<li><a href="index.xhtml">Главная</a></li>
				</ul>
			</h:form>
            <p class="navbar-text pull-right">Вы вошли как <b>#{login.currentLogin}</b></p>
        </ui:composition>
    </h:body>
</html>

